package cn.ibizlab.odoo.core.odoo_base.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_base.domain.Base_partner_merge_automatic_wizard;
import cn.ibizlab.odoo.core.odoo_base.filter.Base_partner_merge_automatic_wizardSearchContext;

/**
 * 实体[Base_partner_merge_automatic_wizard] 服务对象接口
 */

public interface IBase_partner_merge_automatic_wizardService{
     void createBatch(List<Base_partner_merge_automatic_wizard> base_partner_merge_automatic_wizards, int batchSize) ;
     boolean update(Base_partner_merge_automatic_wizard base_partner_merge_automatic_wizard) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void updateBatch(List<Base_partner_merge_automatic_wizard> base_partner_merge_automatic_wizards, int batchSize) ;
     boolean create(Base_partner_merge_automatic_wizard base_partner_merge_automatic_wizard) ;
     Base_partner_merge_automatic_wizard get(Integer id) ;
     Base_partner_merge_automatic_wizard get(Base_partner_merge_automatic_wizard base_partner_merge_automatic_wizard) ;
     boolean remove(Integer id) ;

    /**
     * 查询集合 默认查询
     */
    Page<Base_partner_merge_automatic_wizard> searchDefault(Base_partner_merge_automatic_wizardSearchContext context) ;

    /**
     * 根据合并合作伙伴明细行查询
     */
     Page<Base_partner_merge_automatic_wizard> selectByOdoo_current_line(Integer id) ;

    /**
     * 根据联系人查询
     */
     Page<Base_partner_merge_automatic_wizard> selectByOdoo_dst_partner(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Base_partner_merge_automatic_wizard> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Base_partner_merge_automatic_wizard> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Base_partner_merge_automatic_wizard convert2Domain(cn.ibizlab.odoo.core.client.model.Ibase_partner_merge_automatic_wizard model ,Base_partner_merge_automatic_wizard domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Ibase_partner_merge_automatic_wizard convert2Model(Base_partner_merge_automatic_wizard domain , cn.ibizlab.odoo.core.client.model.Ibase_partner_merge_automatic_wizard model);

}
